<?php

$HOST = "localhost";
$USER = "root";
$PASS = "";
$DATABASE = "shop";
$ERROR1 = "Loi mysql";
$ERROR2 = "Loi DB";

$conn = mysqli_connect($HOST, $USER, $PASS, $DATABASE) or die($ERROR1);
        
//mysql_connect($HOST, $USER, $PASS) or die($ERROR1);
$conn->query("SET NAMES 'utf8'");

//mysql_select_db($DB) or die($ERROR2);
